package com.hh.releasenode.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

/**
 * @ClassName SysMenuEntity
 * @Description 菜单类
 * @Author KunxianLi
 * Date 2020/6/9 16:05
 * Version 1.0
 **/
@TableName("tm_sys_menu")
@Data
public class SysMenuEntity extends BaseEntity {

    @TableId(type = IdType.AUTO)
    private Long id;

    /**
     *上级菜单
     **/
    private Long parentId;

    /**
     *菜单名
     **/
    private String name;

    /**
     * 菜单功能路径
     **/
    private String url;

    /**
     *授权
     **/
    private String perms;

    /**
     *
     **/
    private  Integer type;

    /**
     * 菜单图标
     **/
    private String icon;

    /**
     * 排序
     **/
    private  Integer order;

}
